package com.example.enums.menu;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum MenuVisible {

    SHOW(0, "显示"),
    HIDE(1, "隐藏");

    @EnumValue
    private final Integer value;
    @JsonValue
    private final String description;

}
